package ee.kuli.hk.rent;

import android.graphics.drawable.Drawable;

public class Device {
	private String qr_id, model, serial, imei, value, description, image_url;
	
	public Device copy() {
		Device copy = new Device();
		copy.setDescription(description);
		copy.setImage(image_url);
		copy.setImei(imei);
		copy.setModel(model);
		copy.setQRContent(qr_id);
		copy.setSerial(serial);
		copy.setValue(value);
		return copy;
	}

	public void setQRContent(String body) {
		this.qr_id = body;
	}

	public void setModel(String body) {
		this.model = body;
	}

	public void setSerial(String body) {
		this.serial = body;
	}

	public void setImei(String body) {
		this.imei = body;
	}

	public void setValue(String body) {
		this.value = body;
	}

	public void setDescription(String body) {
		this.description = body;
	}

	public void setImage(String body) {
		this.image_url = body;
	}

	public CharSequence getDescription() {
		return this.description != null ? this.description : "";
	}

	public CharSequence getModel() {
		return this.model !=null ? this.model : "";
	}

	public CharSequence getValue() {
		return this.value != null ? this.value : "";
	}

	public CharSequence getSerial() {
		return this.serial != null ? this.serial : "";
	}

	public CharSequence getImei() {
		return this.imei != null ? this.imei : "";
	}
	
	public CharSequence getImageURL() {
		return this.image_url;
	}

}
